package org.csu.logistics.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@Data
@TableName("user")
public class User {
    @TableId(value = "userid", type= IdType.INPUT)
    int userid;
    String name;
    int age;
    String sex;
    String tel;
    String addr;
    int integral;
    public User(int a,String b,int c,String d, String e, String f, int g){
        this.userid = a;
        this.name = b;
        this.age = c;
        this.sex = d;
        this.tel = e;
        this.addr = f;
        this.integral = g;
    }
    public User(int a,String b,int c,String d, String e, String f){
        this.userid = a;
        this.name = b;
        this.age = c;
        this.sex = d;
        this.tel = e;
        this.addr = f;
    }
}
